/*

  Split a string into several parts.

  @author Richard Kelley, based on code from C++ Cookbook by Stephens
  et. al.

*/

#ifndef SPLITTER_H
#define SPLITTER_H

/*Helper function for string parsing*/

#include <string>
#include <vector>
#include <functional>
#include <iostream>

//splits a string into pieces at character c and puts reult into vector of type string
void split(const std::string& s, const char c, std::vector<std::string>& v);

#endif // SPLITTER_H
